<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript" src="/music/Public/Admin/Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/music/Public/Admin/Js/index.js"></script>
<script type="text/javascript" src="/music/Public/Admin/Js/jq.js"></script>
<link rel="stylesheet" href="/music/Public/Admin/Css/public.css" />
<link rel="stylesheet" href="/music/Public/Admin/Css/index.css" />
<link rel="stylesheet" href="/music/Public/Admin/Css/login.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

</head>
<table>
	<form action="/music/index.php/Admin/Ranking/add" method="post" enctype="multipart/form-data">
	<tr>
		<td>排行名称:</td>
		<td><input type="text" name="rankingName" /></td>
	</tr> 
	<tr>
		<td>排行简介:</td>
		<td>
			<textarea cols="50" name="rankingIntroduce" style="height:100px;"></textarea>
		</td>
	</tr>
	<tr>
		<td>排行分类:</td>
		<td>
			<select name="shareId">
				<option value="0">请选择分类</option>
			<?php if(is_array($sorts)): foreach($sorts as $key=>$v): ?><option value="<?php echo ($v["id"]); ?>"><?php echo ($v["sortsname"]); ?></option><?php endforeach; endif; ?>	
			</select>
		</td>
	</tr>
	<tr>
		<td>排行封面:</td>
		<td><input type="file" name="rankingPic" /></td>
	</tr>
	<tr>
		<td></td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" /></td>
	</tr>
	</form>
</table>